﻿#include "screen.h"
#include <QPushButton>
#include <QGraphicsView>

EditScreen::EditScreen() :
    Screen()
{
    buttonSave->setText(QString::fromUtf8("Lưu Nháp"));
    buttonDone->setText(QString::fromUtf8("Lưu"));
    inputName = new QLineEdit(this);
    inputName->setText(QString::fromUtf8("Mô tả màn chơi"));

    grid = new EditGrid(this);
    QGraphicsView* view = new QGraphicsView(this);
    view->setMinimumWidth(550);
    view->setMaximumWidth(550);
    view->setScene(grid);
    layoutNew->addWidget(view);
    layoutLeft->addWidget(inputName);
}
